﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace CLEXA.DataContracts
{
    [DataContract]
    public class AggregateData
    {
        [DataMember]
        private readonly AggregateTypeData aggregateType;
        [DataMember]
        private readonly string column;

        public AggregateTypeData AggregateType
        {
            get { return aggregateType; }
        }

        public string Column
        {
            get { return column; }
        }

        public AggregateData(AggregateTypeData aggregateType, string column)
        {
            this.aggregateType = aggregateType;
            this.column = column;
        }
    }
}
